package edu.hqu.demo.service.impl;

import edu.hqu.demo.mapper.StudentMapper;
import edu.hqu.demo.pojo.Student;
import edu.hqu.demo.service.StudentSerivice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentSerivice{
    @Autowired
    private StudentMapper studentMapper;

    @Override
    public Student getStudentInformation(String Sno){
        return studentMapper.getStudentInformation(Sno);
    }

    @Override
    public String getStudentPassword(String Sno){
        return studentMapper.getStudentPassword(Sno);
    }
}
